<?php

class Admin_IndexController extends Zend_Controller_Action
{

    public function init()
    {
    	$this->_auth = Zend_Auth::getInstance();
    	
        if(!$this->_auth->hasIdentity()) {
        	$this->_redirect($this->view->adminURL('authentication', 'login'));
        }
        $this->view->user = $this->_auth->getIdentity();
        
    }

    public function indexAction()
    {
		$this->view->headTitle('Amin CP');
    }

	public function listAction ()
	{
		
	}
}

